package com.itheima.pojo;

import java.util.ArrayList;
import java.util.List;

public class StaffPage {
    private Integer page;
    private Integer pageSize;
    private List records =new ArrayList();
    private Integer total;
    private Integer size;
    private Integer current;
    private List orders =new ArrayList();
    private Boolean optimizeCountSql;
    private Boolean hitCount;
    private Boolean countId;
    private Boolean maxLimit;
    private Boolean searchCount;
    private Integer pages;

    public StaffPage() {
    }

    public StaffPage(Integer page, Integer pageSize, List orders, Integer total, Integer size, Integer current, List records, Boolean optimizeCountSql, Boolean hitCount, Boolean countId, Boolean maxLimit, Boolean searchCount, Integer pages) {
        this.page = page;
        this.pageSize = pageSize;
        this.records = records;
        this.total = total;
        this.size = size;
        this.current = current;
        this.records = records;
        this.optimizeCountSql = optimizeCountSql;
        this.hitCount = hitCount;
        this.countId = countId;
        this.maxLimit = maxLimit;
        this.searchCount = searchCount;
        this.pages = pages;
    }


    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public List getRecords() {
        return records;
    }

    public void setRecords(List records) {
        this.records = records;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public List getOrders() {
        return records;
    }

    public void setOrders(List records) {
        this.records = records;
    }

    public Boolean getOptimizeCountSql() {
        return optimizeCountSql;
    }

    public void setOptimizeCountSql(Boolean optimizeCountSql) {
        this.optimizeCountSql = optimizeCountSql;
    }

    public Boolean getHitCount() {
        return hitCount;
    }

    public void setHitCount(Boolean hitCount) {
        this.hitCount = hitCount;
    }

    public Boolean getCountId() {
        return countId;
    }

    public void setCountId(Boolean countId) {
        this.countId = countId;
    }

    public Boolean getMaxLimit() {
        return maxLimit;
    }

    public void setMaxLimit(Boolean maxLimit) {
        this.maxLimit = maxLimit;
    }

    public Boolean getSearchCount() {
        return searchCount;
    }

    public void setSearchCount(Boolean searchCount) {
        this.searchCount = searchCount;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    @Override
    public String toString() {
        return "Page{" +
                ", page=" + page +
                ", pageSize=" + pageSize +
                ", records=" + records +
                ", total=" + total +
                ", size=" + size +
                ", current=" + current +
                ", records=" + records +
                ", optimizeCountSql=" + optimizeCountSql +
                ", hitCount=" + hitCount +
                ", countId=" + countId +
                ", maxLimit=" + maxLimit +
                ", searchCount=" + searchCount +
                ", pages=" + pages +
                '}';
    }
}
